Integrand size = 26, antiderivative size = 107 \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=-\frac {\sqrt {a+b x+c x^2}}{8 c^2 d^4 (b+2 c x)}-\frac {\left (a+b x+c x^2\right )^{3/2}}{6 c d^4 (b+2 c x)^3}+\frac {\text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{16 c^{5/2} d^4} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {698, 635, 212} \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=\frac {\text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{16 c^{5/2} d^4}-\frac {\sqrt {a+b x+c x^2}}{8 c^2 d^4 (b+2 c x)}-\frac {\left (a+b x+c x^2\right )^{3/2}}{6 c d^4 (b+2 c x)^3} \]
[In]
[Out]
Rule 212
Rule 635
Rule 698
Rubi steps \begin{align*} \text {integral}& = -\frac {\left (a+b x+c x^2\right )^{3/2}}{6 c d^4 (b+2 c x)^3}+\frac {\int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^2} \, dx}{4 c d^2} \\ & = -\frac {\sqrt {a+b x+c x^2}}{8 c^2 d^4 (b+2 c x)}-\frac {\left (a+b x+c x^2\right )^{3/2}}{6 c d^4 (b+2 c x)^3}+\frac {\int \frac {1}{\sqrt {a+b x+c x^2}} \, dx}{16 c^2 d^4} \\ & = -\frac {\sqrt {a+b x+c x^2}}{8 c^2 d^4 (b+2 c x)}-\frac {\left (a+b x+c x^2\right )^{3/2}}{6 c d^4 (b+2 c x)^3}+\frac {\text {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x}{\sqrt {a+b x+c x^2}}\right )}{8 c^2 d^4} \\ & = -\frac {\sqrt {a+b x+c x^2}}{8 c^2 d^4 (b+2 c x)}-\frac {\left (a+b x+c x^2\right )^{3/2}}{6 c d^4 (b+2 c x)^3}+\frac {\tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{16 c^{5/2} d^4} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 10.08 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.89 \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=\frac {\left (b^2-4 a c\right ) \sqrt {a+x (b+c x)} \operatorname {Hypergeometric2F1}\left (-\frac {3}{2},-\frac {3}{2},-\frac {1}{2},\frac {(b+2 c x)^2}{b^2-4 a c}\right )}{48 c^2 d^4 (b+2 c x)^3 \sqrt {\frac {c (a+x (b+c x))}{-b^2+4 a c}}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(310\) vs. \(2(89)=178\).
Time = 2.69 (sec) , antiderivative size = 311, normalized size of antiderivative = 2.91
method | result | size |
default | \(\frac {-\frac {4 c \left (\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}\right )^{\frac {5}{2}}}{3 \left (4 a c -b^{2}\right ) \left (x +\frac {b}{2 c}\right )^{3}}+\frac {8 c^{2} \left (-\frac {4 c \left (\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}\right )^{\frac {5}{2}}}{\left (4 a c -b^{2}\right ) \left (x +\frac {b}{2 c}\right )}+\frac {16 c^{2} \left (\frac {\left (x +\frac {b}{2 c}\right ) \left (\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}\right )^{\frac {3}{2}}}{4}+\frac {3 \left (4 a c -b^{2}\right ) \left (\frac {\left (x +\frac {b}{2 c}\right ) \sqrt {\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}}}{2}+\frac {\left (4 a c -b^{2}\right ) \ln \left (\sqrt {c}\, \left (x +\frac {b}{2 c}\right )+\sqrt {\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}}\right )}{8 c^{\frac {3}{2}}}\right )}{16 c}\right )}{4 a c -b^{2}}\right )}{3 \left (4 a c -b^{2}\right )}}{16 d^{4} c^{4}}\) | \(311\) |
[In]
[Out]
none
Time = 0.49 (sec) , antiderivative size = 345, normalized size of antiderivative = 3.22 \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=\left [\frac {3 \, {\left (8 \, c^{3} x^{3} + 12 \, b c^{2} x^{2} + 6 \, b^{2} c x + b^{3}\right )} \sqrt {c} \log \left (-8 \, c^{2} x^{2} - 8 \, b c x - b^{2} - 4 \, \sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {c} - 4 \, a c\right ) - 4 \, {\left (16 \, c^{3} x^{2} + 16 \, b c^{2} x + 3 \, b^{2} c + 4 \, a c^{2}\right )} \sqrt {c x^{2} + b x + a}}{96 \, {\left (8 \, c^{6} d^{4} x^{3} + 12 \, b c^{5} d^{4} x^{2} + 6 \, b^{2} c^{4} d^{4} x + b^{3} c^{3} d^{4}\right )}}, -\frac {3 \, {\left (8 \, c^{3} x^{3} + 12 \, b c^{2} x^{2} + 6 \, b^{2} c x + b^{3}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{2} + b c x + a c\right )}}\right ) + 2 \, {\left (16 \, c^{3} x^{2} + 16 \, b c^{2} x + 3 \, b^{2} c + 4 \, a c^{2}\right )} \sqrt {c x^{2} + b x + a}}{48 \, {\left (8 \, c^{6} d^{4} x^{3} + 12 \, b c^{5} d^{4} x^{2} + 6 \, b^{2} c^{4} d^{4} x + b^{3} c^{3} d^{4}\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=\frac {\int \frac {a \sqrt {a + b x + c x^{2}}}{b^{4} + 8 b^{3} c x + 24 b^{2} c^{2} x^{2} + 32 b c^{3} x^{3} + 16 c^{4} x^{4}}\, dx + \int \frac {b x \sqrt {a + b x + c x^{2}}}{b^{4} + 8 b^{3} c x + 24 b^{2} c^{2} x^{2} + 32 b c^{3} x^{3} + 16 c^{4} x^{4}}\, dx + \int \frac {c x^{2} \sqrt {a + b x + c x^{2}}}{b^{4} + 8 b^{3} c x + 24 b^{2} c^{2} x^{2} + 32 b c^{3} x^{3} + 16 c^{4} x^{4}}\, dx}{d^{4}} \]
[In]
[Out]
Exception generated. \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 431 vs. \(2 (89) = 178\).
Time = 0.37 (sec) , antiderivative size = 431, normalized size of antiderivative = 4.03 \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=-\frac {\log \left ({\left | 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} \sqrt {c} + b \right |}\right )}{16 \, c^{\frac {5}{2}} d^{4}} - \frac {12 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{4} b^{2} c^{2} - 48 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{4} a c^{3} + 24 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{3} b^{3} c^{\frac {3}{2}} - 96 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{3} a b c^{\frac {5}{2}} + 21 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} b^{4} c - 96 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} a b^{2} c^{2} + 48 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} a^{2} c^{3} + 9 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} b^{5} \sqrt {c} - 48 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} a b^{3} c^{\frac {3}{2}} + 48 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} a^{2} b c^{\frac {5}{2}} + 2 \, b^{6} - 15 \, a b^{4} c + 36 \, a^{2} b^{2} c^{2} - 32 \, a^{3} c^{3}}{24 \, {\left (2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )}^{2} c + 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} b \sqrt {c} + b^{2} - 2 \, a c\right )}^{3} c^{\frac {5}{2}} d^{4}} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(b d+2 c d x)^4} \, dx=\int \frac {{\left (c\,x^2+b\,x+a\right )}^{3/2}}{{\left (b\,d+2\,c\,d\,x\right )}^4} \,d x \]
[In]
[Out]